<#include "../header.ftl">
<html>
<body>

<#include "../nav-top.ftl">
<div class="sui-container" style="margin-top: 30px;">
    <ul class="sui-breadcrumb" style="padding: 0px 0px">
        <li><a href="#">数据查看</a></li>
        <li class="active">充值明细</li>
    </ul>
    <div class="sui-row-fluid">
        <div class="span12">
            <form id="form-msg" class="sui-form form-horizontal" novalidate="novalidate">
                <div class="control-group">
                    <label for="beginTime1">日期：</label>
                    <div class="controls">
                        <input type="text" id="beginTime" name="beginTime" value="${day}"
                               class="input-large"
                               data-toggle="datepicker">
                    </div>
                    &nbsp;
                    <label for="endTime1">至</label>&nbsp;
                    <div class="controls">
                        <input type="text" id="endTime" name="endTime" class="input-large" value="${day}"
                               data-toggle="datepicker">
                    </div>
                    &nbsp;&nbsp;
                    <label for="groupName1">账户：</label>
                    <div class="controls">
                        <select class="input-large" id="uid" style="max-height: 100px;">
                            <option value="">全部</option>
                        <#list userList as user>
                            <#if user.uid == uid>
                                <option value="${user.uid}" selected="selected">${user.accountName}</option>
                            <#else >
                                <option value="${user.uid}">${user.accountName}</option>
                            </#if>
                        </#list>
                        </select>
                    </div>
                    &nbsp;&nbsp;
                    <a href="javascript:void(0);" class="sui-btn btn-large query-normal">查询</a>&nbsp;
                </div>
                <div class="control-group">
                    <label for="groupName1">合计：</label>
                    <div class="controls">
                        <a href="javascript:void(0);" class="total-money"></a>&nbsp;元
                    </div>
                </div>
            </form>
            <table class="sui-table table-bordered rowover-table" id="tab-normal">
                <thead>
                <tr>
                    <th style="text-align: center">日期</th>
                    <th style="text-align: center">账户</th>
                    <th style="text-align: center">金额</th>
                    <th style="text-align: center">充值操作账户</th>
                    <th style="text-align: center">渠道</th>
                    <th style="text-align: center">付款账号</th>
                </tr>
                </thead>
                <tbody>

                </tbody>
            </table>
            <div class="sui-pagination normal-pagination" style="float: right">
                <ul>
                    <li class="prev disabled"><a href="#">«上一页</a></li>
                    <li class="next"><a href="#">下一页»</a></li>
                </ul>
            </div>
        </div>

    </div>
</div>
<#include "../footer.ftl">
<script src="../../static/js/plugins/sea/sea.js"></script>
<script src="../../static/js/sea.config.js"></script>
<script>
    seajs.use('/static/js/game/report/account_charge_detail');

</script>
<script id="tp-normal" type="text/html">
    <% for (var i = 0; i < list.length; i ++) {
    var detail = list[i];
    %>
    <tr>
        <td style="text-align: center"><%= detail.dataDate %></td>
        <td style="text-align: center"><%= detail.accountName %></td>
        <td style="text-align: center"><%= (detail.money/100).toFixed(2)%></td>
        <td style="text-align: center"><%= detail.accountName2 %></td>
        <td style="text-align: center"><%= detail.accChannel=='1'?'支付宝':'微信' %></td>
        <td style="text-align: center"><%= detail.accSource %></td>
    </tr>
    <% } %>
</script>

</body>
</html>
